// StandardOfSA.cpp: implementation of the StandardOfSA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "StandardOfSA.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

StandardOfSA::StandardOfSA(const CString& strStandard):Standard(strStandard)
{

}

StandardOfSA::~StandardOfSA()
{

}

StandardOfSA& StandardOfSA::operator=(StandardOfSA& standard)
{
	if(this == &standard)
		return *this;

	this->m_strAttachIDDataTable = standard.m_strAttachIDDataTable;
	this->m_strAttachTable = standard.m_strAttachTable;
	this->m_strBoltNutIDDataTable = standard.m_strBoltNutIDDataTable;
	this->m_strBoltNutTable = standard.m_strBoltNutTable;
	this->m_strCrudeDataTable = standard.m_strCrudeDataTable;
	this->m_strFolder = standard.m_strFolder;
	this->m_strIDDataTable = standard.m_strIDDataTable;
	this->m_strManufactory = standard.m_strManufactory;
	this->m_strObservation = standard.m_strObservation;
	this->m_strProfiledBarCrudeDataTable = standard.m_strProfiledBarCrudeDataTable;
	this->m_strProfiledBarIDDataTable = standard.m_strProfiledBarIDDataTable;

	this->SetStandardName(standard.GetStandard());
	this->SetStandardID(standard.GetStandardID());
	this->SetDescription(standard.GetDescription());

	return *this;
}